package com.xxx.gaoxi.common.service.facade.exception;

/**
 * Description
 * ...
 * DATE 2018/4/2.
 *
 * @author Mr. Chun.
 */
public class BizException  extends RuntimeException {

    public BizException(String message){
        super(message);
    }

    public BizException(int code, String message){
        super(message);
        this.code = code;
    }

    private int code;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
